Home > biomechZoo > Toolbox > Biomech Ops > normalize_data.m

normalize_data

PURPOSE ^

data = NORMALIZE_DATA(data,ch,ndatalength,method) performs time normalization

SYNOPSIS ^

function data = normalize_data(data,ch,datalength,method)

DESCRIPTION ^

 data = NORMALIZE_DATA(data,ch,ndatalength,method) performs time normalization

 ARGUMENTS
  ch         ... Channel(s) to operate on (single string or cell array of strings).
                 Use 'Video','Analog', or 'all' to filter all video, analog or all
                 channels, respectively.Defsult 'all'
  datalength ... Normalize data to a specific length. Data will have datalength+1 frames.
                 Default: 100 (101 frames)
  method     ... method to interpolate data. Default 'linear'.
                 See interp1 for more options

 RETURNS
  data       ...  Zoo data with normalized channels

 See also interp1, bmech_normalize, normalize_line

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005